package com.ruoyi.management.carservicestatics.mapper;

import java.util.List;
import com.ruoyi.management.carservicestatics.domain.TCarServiceStatics;
import com.ruoyi.management.carservicestatics.ro.*;
import com.ruoyi.management.carservicestatics.vo.*;
import org.apache.ibatis.annotations.Param;

/**
 * carservicestaticsMapper接口
 * 
 * @author xly
 * @date 2021-12-08
 */
public interface TCarServiceStaticsMapper 
{

    /**
     * 查询carservicestatics列表
     * 
     * @param tCarServiceStatics carservicestatics
     * @return carservicestatics集合
     */
    public List<TCarServiceStatics> selectTCarServiceStaticsList(TCarServiceStatics tCarServiceStatics);

    List<GetCarServiceStaticsMonthAllListVo> selectAllStaticsList(GetCarServiceStaticsListParam param);

    List<GetCarServiceStaticsMonthListVo> selectStaticsList(GetCarServiceStaticsListParam param);

    List<Integer> selectOperateDays(@Param("carNo") String carNo, @Param("year") int year,@Param("month") Integer month);

    Integer selectOperateNumbers(@Param("carNo") String carNo, @Param("year") int year,@Param("month") Integer month);

    List<GetCarServiceStaticsDetailsVo> selectStaticsDetailsList(GetCarServiceStaticsDetailsParam param);

    List<GetCarServiceStaticsListVo> export(GetCarServiceStaticsListParam param);

    List<GetCarServiceStaticsDriverVo> listDirver(GetCarServiceStaticsListDriverParam param);

    List<GetCarServiceStaticsDriverDetailsVo> listDirverDetails(GetCarServiceStaticsListDriverDetailsParam param);

    void addCarServiceStatics(TCarServiceStatics statics);

    List<GetCarServiceStaticsDriverDetailsDayVo> listDirverDetailsDay(GetCarServiceStaticsListDriverDetailsDayParam param);

    List<GetCarServiceStaticsDriverDetailsDayTotalVo> listDirverDetailsDayTotal(GetCarServiceStaticsListDriverDetailsDayParam param);

    List<GetCarServiceStaticsDriverExportVo> exportDriver(GetCarServiceStaticsListDriverParam param);

    List<GetCarServiceStaticsDetailsDayVo> listDetailsDay(GetCarServiceStaticsListDetailsDayParam param);

    List<GetCarServiceStaticsDetailsDayTotalVo> listDetailsDayTotal(GetCarServiceStaticsListDetailsDayParam param);

    void saveCarServiceStaticsList(List<TCarServiceStatics> list);
}
